<?php

namespace Entities;

use Doctrine\ORM\Mapping as ORM;

/**
 * Entities\Employee
 */
class Employee
{
    /**
     * @var string $initials
     */
    private $initials;

    /**
     * @var string $firstname
     */
    private $firstname;

    /**
     * @var string $surname
     */
    private $surname;

    /**
     * @var string $surnameprefix
     */
    private $surnameprefix;

    /**
     * @var smallint $gender
     */
    private $gender;

    /**
     * @var date $brithdate
     */
    private $brithdate;

    /**
     * @var string $email
     */
    private $email;

    /**
     * @var string $phone
     */
    private $phone;

    /**
     * @var string $function
     */
    private $function;

    /**
     * @var string $certificate
     */
    private $certificate;

    /**
     * @var string $certificateNumber
     */
    private $certificateNumber;

    /**
     * @var smallint $active
     */
    private $active;

    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var Entities\Country
     */
    private $country;


    /**
     * Set initials
     *
     * @param string $initials
     * @return Employee
     */
    public function setInitials($initials)
    {
        $this->initials = $initials;
        return $this;
    }

    /**
     * Get initials
     *
     * @return string 
     */
    public function getInitials()
    {
        return $this->initials;
    }

    /**
     * Set firstname
     *
     * @param string $firstname
     * @return Employee
     */
    public function setFirstname($firstname)
    {
        $this->firstname = $firstname;
        return $this;
    }

    /**
     * Get firstname
     *
     * @return string 
     */
    public function getFirstname()
    {
        return $this->firstname;
    }

    /**
     * Set surname
     *
     * @param string $surname
     * @return Employee
     */
    public function setSurname($surname)
    {
        $this->surname = $surname;
        return $this;
    }

    /**
     * Get surname
     *
     * @return string 
     */
    public function getSurname()
    {
        return $this->surname;
    }

    /**
     * Set surnameprefix
     *
     * @param string $surnameprefix
     * @return Employee
     */
    public function setSurnameprefix($surnameprefix)
    {
        $this->surnameprefix = $surnameprefix;
        return $this;
    }

    /**
     * Get surnameprefix
     *
     * @return string 
     */
    public function getSurnameprefix()
    {
        return $this->surnameprefix;
    }

    /**
     * Set gender
     *
     * @param smallint $gender
     * @return Employee
     */
    public function setGender($gender)
    {
        $this->gender = $gender;
        return $this;
    }

    /**
     * Get gender
     *
     * @return smallint 
     */
    public function getGender()
    {
        return $this->gender;
    }

    /**
     * Set brithdate
     *
     * @param date $brithdate
     * @return Employee
     */
    public function setBrithdate($brithdate)
    {
        $this->brithdate = $brithdate;
        return $this;
    }

    /**
     * Get brithdate
     *
     * @return date 
     */
    public function getBrithdate()
    {
        return $this->brithdate;
    }

    /**
     * Set email
     *
     * @param string $email
     * @return Employee
     */
    public function setEmail($email)
    {
        $this->email = $email;
        return $this;
    }

    /**
     * Get email
     *
     * @return string 
     */
    public function getEmail()
    {
        return $this->email;
    }

    /**
     * Set phone
     *
     * @param string $phone
     * @return Employee
     */
    public function setPhone($phone)
    {
        $this->phone = $phone;
        return $this;
    }

    /**
     * Get phone
     *
     * @return string 
     */
    public function getPhone()
    {
        return $this->phone;
    }

    /**
     * Set function
     *
     * @param string $function
     * @return Employee
     */
    public function setFunction($function)
    {
        $this->function = $function;
        return $this;
    }

    /**
     * Get function
     *
     * @return string 
     */
    public function getFunction()
    {
        return $this->function;
    }

    /**
     * Set certificate
     *
     * @param string $certificate
     * @return Employee
     */
    public function setCertificate($certificate)
    {
        $this->certificate = $certificate;
        return $this;
    }

    /**
     * Get certificate
     *
     * @return string 
     */
    public function getCertificate()
    {
        return $this->certificate;
    }

    /**
     * Set certificateNumber
     *
     * @param string $certificateNumber
     * @return Employee
     */
    public function setCertificateNumber($certificateNumber)
    {
        $this->certificateNumber = $certificateNumber;
        return $this;
    }

    /**
     * Get certificateNumber
     *
     * @return string 
     */
    public function getCertificateNumber()
    {
        return $this->certificateNumber;
    }

    /**
     * Set active
     *
     * @param smallint $active
     * @return Employee
     */
    public function setActive($active)
    {
        $this->active = $active;
        return $this;
    }

    /**
     * Get active
     *
     * @return smallint 
     */
    public function getActive()
    {
        return $this->active;
    }

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set country
     *
     * @param Entities\Country $country
     * @return Employee
     */
    public function setCountry(\Entities\Country $country = null)
    {
        $this->country = $country;
        return $this;
    }

    /**
     * Get country
     *
     * @return Entities\Country 
     */
    public function getCountry()
    {
        return $this->country;
    }
}